Automattic\WooCommerce\GoogleListingsAndAds\Product\WCProductAdapter B

Total Complexity 89
Dependencies 27
Dependents 3
Total lines 755
Lines of code 372
Logical lines of code 194
Comment lines 256
Methods 26
Properties 3

Methods 26

Method Rating Maintainability Complexity Lines of code
get_wc_product_sale_price_effective_date()
A
51 12 28
get_wc_product_description()
A
49 9 30
map_wc_product_sale_price()
A
49 9 29
map_wc_product_image()
S
52 7 24
mapTypes()
S
53 7 22
map_wc_shipping_dimensions()
S
48 5 38
map_gla_attributes()
S
60 4 13
map_wc_product_price()
S
56 3 19
add_shipping_country()
S
57 3 18
map_woocommerce_product()
S
61 3 12
load_validator_metadata()
S
46 1 39
validate_item_group_id()
S
69 3 7
map_wc_shipping_weight()
S
59 2 15
shipping_country_exists()
S
65 3 9
remove_shipping_country()
S
65 3 9
map_wc_product_shipping()
S
63 2 10
map_wc_availability()
S
73 2 5
map_wc_general_attributes()
S
66 2 9
override_attributes()
S
70 2 6
map_tax_excluded()
S
71 1 5
map_wc_prices()
S
74 1 5
is_variation()
S
80 1 3
is_virtual()
S
80 1 3
map_wc_product_id()
S
72 1 5
get_wc_product()
S
82 1 3
setTargetCountry()
S
72 1 6